import getlink from "../../apis/getapi"
export let wenben={
    state:{
        text:"",
    },
    mutations:{
        wenbenA(state,payload){
            state.text=payload
        },
    },
    actions:{
        wenbenH(context,payload){
            getlink(payload.url).then((ok)=>{
                // console.log(ok.data.data);
                context.commit("wenbenA",ok.data.data)
            })
        }
    }
}